com.supermap.ar.areffect
Class RecordParameter
- java.lang.Object
-
- com.supermap.ar.areffect.RecordParameter
-
- All Implemented Interfaces:
- java.lang.Cloneable
- Direct Known Subclasses:
- ARRecordParameter
public abstract class RecordParameter extends java.lang.Object implements java.lang.Cloneablerecord parametersDirect sub class: UAV parameters
UAVRecordParameterAR parametersARRecordParameter
-
-
Constructor Summary
Constructors Constructor and Description RecordParameter()The constructor.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method and Description static floatcalculateFocalLength35mmEq(float ratio, float vFov)Calculates 35mm equivalent focal lengthstatic floatcalculateHorizontalFOV(float ratio, float focalLength35mmEq)Calculates horizontal FOVstatic floatcalculateVerticalFOV(float ratio, float focalLength35mmEq)Calculates the virtical FOVfloatgetFocalLength35mmEq()Gets 35mm equivalent focal length of camerafloatgetHorizontalFOV()Gets the horizontal FOV of camerafloatgetPlatformHeight()Gets the height of the platformdoublegetSensorLatitude()Gets the latitude of the sensordoublegetSensorLongitude()Gets the longitude of the sensorlonggetTimeStamp()Gets the time stampjava.lang.StringgetUniqueIdentifier()Gets the unique identifierfloatgetVerticalFOV()Gets the vertical FOV of cameravoidsetFocalLength35mmEq(float focalLength35mmEq)Sets 35mm equivalent focal length of cameravoidsetHorizontalFOV(float horizontalFOV)Sets the horizontal FOV of cameravoidsetPlatformHeight(float platformHeight)Sets the height of the platformvoidsetSensorLatitude(double sensorLatitude)Sets the latitude of the sensorvoidsetSensorLongitude(double sensorLongitude)Sets the longitude of the sensorvoidsetTimeStamp(long unixTimeStamp)Sets the time stampvoidsetUniqueIdentifier(java.lang.String uniqueIdentifier)Sets the unique identifiervoidsetVerticalFOV(float verticalFOV)Sets the vertical FOV of camera
-
-
-
Method Detail
-
calculateFocalLength35mmEq
public static float calculateFocalLength35mmEq(float ratio, float vFov)Calculates 35mm equivalent focal length- Parameters:
ratio- the aspect ratio of videos or images.vFov- vertical FOV- Returns:
- 35mm equivalent focal length
-
calculateVerticalFOV
public static float calculateVerticalFOV(float ratio, float focalLength35mmEq)Calculates the virtical FOV- Parameters:
ratio- the aspect ratio of videos or images.focalLength35mmEq- 35mm equivalent focal length of camera- Returns:
-
calculateHorizontalFOV
public static float calculateHorizontalFOV(float ratio, float focalLength35mmEq)Calculates horizontal FOV- Parameters:
ratio- the aspect ratio of videos or images.focalLength35mmEq- 35mm equivalent focal length of camera- Returns:
-
getUniqueIdentifier
public java.lang.String getUniqueIdentifier()
Gets the unique identifier- Returns:
- the unique identifier
-
setUniqueIdentifier
public void setUniqueIdentifier(java.lang.String uniqueIdentifier)
Sets the unique identifier- Parameters:
uniqueIdentifier-
-
getTimeStamp
public long getTimeStamp()
Gets the time stamp- Returns:
- unit is microsecond (us)
-
setTimeStamp
public void setTimeStamp(long unixTimeStamp)
Sets the time stamp- Parameters:
unixTimeStamp- unit is microsecond (us)
-
getSensorLatitude
public double getSensorLatitude()
Gets the latitude of the sensor- Returns:
- latitude (coordinate system: WGS-84)
-
setSensorLatitude
public void setSensorLatitude(double sensorLatitude)
Sets the latitude of the sensor- Parameters:
sensorLatitude- latitude (coordinate system: WGS-84)
-
getSensorLongitude
public double getSensorLongitude()
Gets the longitude of the sensor- Returns:
- longitude (coordinate system: WGS-84)
-
setSensorLongitude
public void setSensorLongitude(double sensorLongitude)
Sets the longitude of the sensor- Parameters:
sensorLongitude- latitude (coordinate system: WGS-84)
-
getPlatformHeight
public float getPlatformHeight()
Gets the height of the platform- Returns:
- the height of the platform
-
setPlatformHeight
public void setPlatformHeight(float platformHeight)
Sets the height of the platform- Parameters:
platformHeight- the height of the platform relative to the ground
-
getHorizontalFOV
public float getHorizontalFOV()
Gets the horizontal FOV of camera- Returns:
- the horizontal FOV of camera
-
setHorizontalFOV
public void setHorizontalFOV(float horizontalFOV)
Sets the horizontal FOV of camera- Parameters:
horizontalFOV- field of view
-
getVerticalFOV
public float getVerticalFOV()
Gets the vertical FOV of camera- Returns:
- vertical FOV
-
setVerticalFOV
public void setVerticalFOV(float verticalFOV)
Sets the vertical FOV of camera- Parameters:
verticalFOV- the vertical FOV of camera
-
getFocalLength35mmEq
public float getFocalLength35mmEq()
Gets 35mm equivalent focal length of camera- Returns:
- the got 35mm equivalent focal length of camera
-
setFocalLength35mmEq
public void setFocalLength35mmEq(float focalLength35mmEq)
Sets 35mm equivalent focal length of camera- Parameters:
focalLength35mmEq- 35mm equivalent focal length of camera
-
-